<!DOCTYPE html>
<html lang="zh-cn">
<head>
<include file="Widget/head" />
<link href="__CSS__/Home/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/defaut.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/button.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/distance.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/font.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/lrtk.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/index.css">
<script type="text/javascript">
function checkfrm() {
	var _userName = $("#userName").val();
	var _userPwd = $("#userPwd").val();
	if (_userName == "") {
		alert('请输入用户名！');
		$("#userName").focus();
		return false;
	}
	if (_userPwd == "") {
		alert('请输入密码！');
		$("#userPwd").focus();
		return false;
	}

	if (/^[a-zA-Z0-9_\s]{4,16}/.test(_userName)) {
		//alert('正确');
		return true;

	} else {
		alert('请检查账户是否输入正确！');
		$("#userName").focus();
		return false;
	}
}
</script>
<link href="__CSS__/home/banner.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__JS__/home/banner1.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="js/banner2.js"></script>
<script type="text/javascript">
    var __IE6=true;
    DD_belatedPNG.fix('.logo img,.prev img,.next img,img');
</script>
<![endif]-->
</head>

<body style="zoom: 1;">
{:W('Page/menu')}

<!-- 代码 开始 -->
<div class="slide-main" id="touchMain">
	<a class="prev" href="javascript:;" stat="prev1001"><img src="__IMG__/l-btn.png" /></a>
	<div class="slide-box" id="slideContent">
	<!-- <foreach name="banner" item="vo"> -->
		<div class="slide" id="bgstylec">
			<a stat="sslink-3" target="_blank"><img src="{$vo['picurl']}" style="width:100%; height:490px;"></a>
		</div>
	<!-- </foreach> -->		
	</div>
	<a class="next" href="javascript:;" stat="next1002"><img src="__IMG__/r-btn.png" /></a>
	<div class="item">
	<!-- <foreach name="banner" item="vo"> -->
		<a class="cur" stat="item1001" href="javascript:;"></a>
	<!-- </foreach> -->		
	</div>
	
	<!-- 登录框 -->
	<!-- <if condition="$session_user"> -->        
		<div class="logindiv">
			<ul>
				<p class="topp2">{$Think.config.WEB_SITE_TITLE}</p>
				<li><span>您好， 
					<!-- <if condition="$session_user['cate'] eq 1"> -->
	           			<a href="{:U('Shang/userinfo')}">[商] 
	           		<!-- <else /> -->
	           			<a href="{:U('Shua/userinfo')}">[刷]
	           		<!-- </if> -->
						{$session_user['account']}</a> </span>
				</li>
				<li><span>余额：￥{$info['total_money']}</span></li>
			</ul>
		</div>
	<!-- <else /> -->
	    <div class="logindiv">
	      	<p class="topp">{$Think.config.WEB_SITE_TITLE}</p>
	        <form method="post" action="{:U('Index/login')}" id="loginform" class="loginform" onsubmit="return checkfrm();">
	            <ul>
	              	<li><input name="account" type="text" id="userName" placeholder="请输入账号" class="login-input-text"></li>
	            	<li><input name="password" type="password" id="userPwd" placeholder="请输入密码" class="login-input-text"></li>
	            </ul>
	        	<p><input type="submit" name="btnlogin" value="立即登录" id="btnlogin" class="login-btn"></p>
	        </form>
	    	<p class="goreg" style="margin-top:10px;"><a href="{:U('Index/register')}">免费注册账号</a></p>
	    </div>
	<!-- </if> -->
	<!-- 登录框 -->
</div>
<!-- 代码 结束 -->

{:W('Page/foot')}
</body>
</html>